package com.example.paopao.consumer.memer.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;

@Data
@TableName("tb_integrals")
public class Integrals {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String memberNum;

    private Long userId;

    private Long balance;

    private LocalDateTime rechargeTime;

    private LocalDateTime updateTime;

    private Long integralId;
}
